package com.example.tse.rbhttpservice.service.home.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


//import com.rbyair.services.home.model.HomeGetNewUserExclusive;
/**
* 获取新用户专享
* @author wliu
* edit tse
*/
public class HomeGetNewUserExclusiveResponse extends RudderResponse{

private List<HomeGetNewUserExclusive> getNewUserExclusive = new ArrayList<HomeGetNewUserExclusive>();


/**
* @return getNewUserExclusive
*/
public List<HomeGetNewUserExclusive> getGetNewUserExclusive() {
return this.getNewUserExclusive;
}

/**
* @return getNewUserExclusive
*/
public void setGetNewUserExclusive(List<HomeGetNewUserExclusive> getNewUserExclusive) {
this.getNewUserExclusive = getNewUserExclusive;
}
/**
methodName    GetNewUserExclusive
type          List<HomeGetNewUserExclusive>
name          getNewUserExclusive
defaultType   new ArrayList<HomeGetNewUserExclusive>()
*/

/**


    private static void filterFor(HomeGetNewUserExclusive home) {
        if (home.getSecondId() == null) {
            home.setSecondId("");
        }
        if (home.getStoreNum() == null) {
            home.setStoreNum("");
        }
        if (home.getName() == null) {
            home.setName("");
        }
        if (home.getMainImage() == null) {
            home.setMainImage("");
        }
        if (home.getPrice() == null) {
            home.setPrice("");
        }
        if (home.getMktprice() == null) {
            home.setMktprice("");
        }
        if (home.getProductId() == null) {
            home.setProductId("");
        }
        if (home.getBeginTime() == null) {
            home.setBeginTime("");
        }
        if (home.getEndTime() == null) {
            home.setEndTime("");
        }
        if (home.getCurrentTime() == null) {
            home.setCurrentTime("");
        }
    }

    public static void filter(HomeGetNewUserExclusiveResponse home) {
        if (home.getGetNewUserExclusive() == null) {
            home.setGetNewUserExclusive(new ArrayList<HomeGetNewUserExclusive>());
        } else {
            for (HomeGetNewUserExclusive item : home.getGetNewUserExclusive()) {
                filterFor(item);
            }
        }
    }

*/

}
